﻿using ACC.Extensions.PCClient.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace ACC.Extensions.PCClient.UserControls
{
    /// <summary>
    /// BasicInfoControl.xaml 的交互逻辑
    /// </summary>
    public partial class BasicInfoControl : UserControl
    {
        public ClientBasicInfo BasicInfo=new ClientBasicInfo();
        public BasicInfoControl()
        {
            InitializeComponent();

            BasicInfo = new ClientBasicInfo()
            {
                StnName = "STN001",
                StnDesc = "This is Stn001",
                PartNo = "P001",
                PartNoDesc = "This is P001",
                Shift = "MorningShift",
                PalletNo = "Pallet_001",
                OrderNo = "Order001",
                OrderQty = 100,
                StnOperator = "ACC-10010",
                OkCount = 10,
                ShowOKCount = true

            };

            dgBasicinfo.Content = BasicInfo;
        }
    }   
}
